package cn.edu.sdjzu.xg23.kcsj01_backend.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Project {

    private Long id;
    private String projectName;
    private String category;
    private String introduction;
    private LocalDate startDate;
    private LocalDate endDate;
    private Integer contractAmount;
    private String contractDocumentFilename;
    private String remarks;
    private String classification;
    private String level;

    private ApprovalDepartment approvalDepartment;

    private Subject subject;

    private ApprovalState approvalState;

    private List<SupportingMaterial> supportingMaterial;

    private Employee firstApplicant;

    private List<EmployeeAssProject> applicants; //所有申报人

    public Project(Long id) {
        this.id = id;
    }
}